package com.ph.elec.page.register;

import org.apache.click.extras.control.ExternalLink;

import com.google.appengine.api.users.UserService;
import com.google.appengine.api.users.UserServiceFactory;
import com.ph.elec.template.BasePage;

public class PreStartPage extends BasePage {
	
	public ExternalLink loginToGoogleLink;

	public PreStartPage() {
		// Set Page Properties
		title = "First Step in Volunteering!";
		keywords = "";
		description = "";

		UserService userService = UserServiceFactory.getUserService();

		loginToGoogleLink = new ExternalLink(
				"loginToGoogleLink", 
				userService.createLoginURL(getContext().getPagePath(StartPage.class)));
		loginToGoogleLink.setLabel("Click Here to Login to you Google Account");
	}
}
